package com.drools.entity;

import java.math.BigDecimal;

/**
 * Created by LANCHUNQIAN on 2016/11/22.
 */
public class OrderRange {

    private BigDecimal upperLimit;
    private BigDecimal lowerLimit;
    private String director;

    public OrderRange (BigDecimal upperLimit, BigDecimal lowerLimit, String director){
        this.upperLimit = upperLimit;
        this.lowerLimit = lowerLimit;
        this.director = director;
    }
    public OrderRange(){}

    public BigDecimal getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(BigDecimal upperLimit) {
        this.upperLimit = upperLimit;
    }

    public BigDecimal getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(BigDecimal lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderRange{");
        sb.append("upperLimit=").append(upperLimit);
        sb.append(", lowerLimit=").append(lowerLimit);
        sb.append(", director='").append(director).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
